Which statement is not correct in reference to the following code? A = {1 : "One", 2 : "Two", 3 : "Three"} A[4] = "Four"

Python - Online Exam Test Papers | Python - MCQs[multiple choice questions and answers ] | Python - Mock Test Papers | Python - Practice Papers | Python - Sample Test Papers |

Question:
Which statement is not correct in reference to the following code?
A = {1 : "One", 2 : "Two", 3 : "Three"}
A[4] = "Four"

1.It will add value at the end of dictionary.

2.It will modify value if the key already exist.

3.It will add value in between of the dictionary.

4.All the above

Posted Date:-2021-12-06 17:40:51


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!